<div class=" leftinfo fleft">
<div style="width:100%;position:relative;">
<div id="kszn" class="leftb "></div>
</div>
<div style="height:170px">
<table width="99%" border="0" cellspacing="10" cellpadding="8">
  <tr>
    <?php
    	foreach($kszn_1 as $k => $v){
			if(empty($v['the_url'])){
				$href = url('/cate', array('catId'=>$v['id']));	
			}else{
				$href = $v['the_url'];	
			}
			echo '<td><a href="'.$href.'">'.$v['type_name'].'</a></td>';	
		}
	?>
  </tr>
  <tr>
    <?php
    	foreach($kszn_2 as $k => $v){
			if(empty($v['the_url'])){
				$href = url('/cate', array('catId'=>$v['id']));	
			}else{
				$href = $v['the_url'];	
			}
			echo '<td><a href="'.$href.'">'.$v['type_name'].'</a></td>';	
		}
	?>
  </tr>
  <tr>
    <?php
    	foreach($kszn_3 as $k => $v){
			if(empty($v['the_url'])){
				$href = url('/cate', array('catId'=>$v['id']));	
			}else{
				$href = $v['the_url'];	
			}
			echo '<td><a href="'.$href.'">'.$v['type_name'].'</a></td>';	
		}
	?>
  </tr>
  <tr>
    <?php
    	foreach($kszn_4 as $k => $v){
			if(empty($v['the_url'])){
				$href = url('/cate', array('catId'=>$v['id']));	
			}else{
				$href = $v['the_url'];	
			}
			echo '<td><a href="'.$href.'">'.$v['type_name'].'</a></td>';	
		}
	?>
  </tr>
</table>
</div>

<div class="clear magin20t"></div>
<div class="clear"></div>
<div id="szk" class="leftb">
<a href="<?php echo url('index/teacher');?>" id="arrow"></a>
</div>
<div id="tealist">
<div style="width:<?php echo 260*count($teacher_list);?>px">
<?php foreach ($teacher_list as $teacher) {?>
<div class='item'>
<div class="fleft magin5t magin20l magin20b"><a href="<?php echo url('index/teacherinfo', array('tea_id'=>$teacher['tea_id']));?>" target="_blank"><img src="<?=$_BASE_DIR.$teacher['pic']?>" name="photo" width="75" height="90" alt="" style="background-color: #CCCCCC" /></a></div>
<div id="tea_note" class="fleft magin20l magin5t">
  <p class="name"><a href="<?php echo url('index/teacherinfo', array('tea_id'=>$teacher['tea_id']));?>" target="_blank"><?php echo $teacher['tea_name'];?></a></p>
  <p class="left" style="white-space:normal"><?php echo Helper_Util::utfSubStr(stripslashes(nl2br($teacher['note'])),60,'...');?></p>
</div>
</div>
<?php }?>
</div>
</div>
<script type="text/javascript">

/*********向左间歇滚动(非缓动)***************/

new Marquee("tealist",2,10,260,115,20,8000,5000,260)		//向左间歇滚动(非缓动)实例

</script>

<div class="clear"></div>
<div id="xyhp" class="leftb">
<!--<div id="arrow"></div>--></div>
<div class="xyhpd">
<MARQUEE onmouseout=this.start() direction="up"  height="158" onmouseover=this.stop()  scrollAmount=2 scrollDelay=-5>

<?php foreach ($opinion_list as $opinion) {?>
<div class="magin5t name">学员:<?php echo $opinion['name'];?></div>
<div class="magin20b"><?php echo $opinion['content'];?></div>
<?php }?>
</MARQUEE>
</div>



</div>

